package vma.nicici.chat.communication;

import java.io.IOException;
import java.net.URISyntaxException;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import vma.nicici.chat.gson.Response;

public final class GsonHttp {
	private static Gson gson = new GsonBuilder().create();
	
	
	public static Response convert(String string) throws IOException, URISyntaxException {
		return gson.fromJson(string, Response.class);
	}
}
